﻿using Utility.Enum;

namespace Model.DomainModel
{
    /// <summary>
    /// 流程节点配置
    /// </summary>
    public class FlowNodeConfig
    {
        /// <summary>
        /// 主键
        /// </summary>
        public string Id { get; set; } = string.Empty;

        /// <summary>
        /// 流程id
        /// </summary>
        public string FlowId { get; set; } = string.Empty;

        /// <summary>
        /// 表单主键
        /// </summary>
        public string FormId { get; set; } = string.Empty;

        /// <summary>
        /// 流程节点id
        /// </summary>
        public string FlowNodeId { get; set; } = string.Empty;

        /// <summary>
        /// 节点类型
        /// </summary>
        public FlowNodeTypeEnum NodeType { get; set; }

        /// <summary>
        /// 过期配置
        /// </summary>
        public string ExpireConfig { get; set; } = string.Empty;

        /// <summary>
        /// 是否过期提醒
        /// </summary>
        public bool IsExpireRemind { get; set; } = false;

        /// <summary>
        /// 字段权限配置
        /// </summary>
        public string FieldAuthConfig { get; set; } = string.Empty;

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }

        /// <summary>
        /// 创建人员
        /// </summary>
        public string CreateUserKey { get; set; } = string.Empty;

    }
}
